<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<script src="lufylegend-1.10.0.js"></script>
</head>

<body>
<div id="mylegend">loading...</div>
<script>
init(50,"mylegend",320,600,main);
var loadinglayer,backlayer,graphicsmap,nextlayer;
function main(){
	backlayer=new LSprite();
	backlayer.graphics.drawRect(1,"#000000",[0,0,320,480],true,"#000000");
	addChild(backlayer);
	gameInit();
}
function gameInit(){
	var title=new LTextField();
	title.x=80;
	title.y=100;	
	title.size=30;
	title.color="#ffffff";
	title.text="俄罗斯方块";
	backlayer.addChild(title);
	backlayer.graphics.drawRect(1,"#ffffff",[50,240,220,40]);
	var textclick=new LTextField();
	textclick.size=18;
	textclick.color="#ffffff";
	textclick.text="点击页面开始游戏";
	textclick.x=(LGlobal.width-textclick.getWidth())/2;
	textclick.y=250;
	backlayer.addChild(textclick);
}
</script>
</body>
</html>
